package cn.fengzhilun.javase.day09;

import org.junit.Test;

public class TestThread {
	@Test
	public void test1() {
		System.out.println("1");
		
		
		Thread thread =new Thread(new PrintTesk());
		thread.start();
		
		
		
		System.out.println("2");
		System.out.println("3");
	}
}

class PrintTesk implements Runnable{

	@Override
	public void run() {
		System.out.println("a");
		System.out.println("b");
		System.out.println("c");
	}
	
	
}